package cn.hbwe.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ChartDTO {

    @NotNull( message =" 医生Id不能为空")
    private Integer doctorId;

    @NotNull( message =" 病人Id不能为空")
    private Integer patientId;

    @NotBlank(message = "诊断结果不能为空")
    private String chartRecord;

    @NotNull( message =" 科室Id不能为空")
    private Integer departmentId;

    @NotNull( message =" bookingId不能为空,请根据规定流程添加病例")
    private Integer bookingId;
    /**
     * 病人姓名
     */
    @NotBlank(message = "病人姓名不能为空")
    private String patientName;

    /**
     * 医生姓名
     */
    @NotBlank(message = "医生姓名不能为空")
    private String doctorName;
}